package com.situ.mymall.service.impl;

import com.situ.mymall.mapper.CategoryMapper;
import com.situ.mymall.pojo.vo.CategoryVO;
import com.situ.mymall.service.ICategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CategoryServiceImpl implements ICategoryService {

    @Autowired
    private CategoryMapper categoryMapper;


    @Override
    public List<CategoryVO> listAll() {
        return categoryMapper.listAll();
    }
}
